"""
Projectname: Calculator
Author: Abilov Farhod
Date: 11.07.2022
"""

print("Salom programmaga xush kelibsiz.")

ans1 = float(input("Birinchi sonni kiriting:"))

ans2 = float(input("Ikkinchi sonni kiriting:"))

ans3 = input("Kerakli amallarni kiriting(+,-,*,/):")

if ans3 == "+":
    print(f"{ans1} {ans3} {ans2} = {ans1+ans2}")
elif ans3 == "-":
    print(f"{ans1} {ans3} {ans2} = {ans1-ans2}")
elif ans3 == "*":
    print(f"{ans1} {ans3} {ans2} = {ans1*ans2}")
elif ans3 == "/":
    print(f"{ans1} {ans3} {ans2} = {ans1/ans2}")
else:
    print("Bunday buyruq mavjud emas.")
